﻿/**  版本信息模板在安装目录下，可自行修改。
* Orders_Goods.cs
*
* 功 能： N/A
* 类 名： Orders_Goods
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2014/3/15 0:50:18   N/A    初版
*
* Copyright (c) 2012 Maticsoft Corporation. All rights reserved.
*┌──────────────────────────────────┐
*│　此技术信息为本公司机密信息，未经本公司书面同意禁止向第三方披露．　│
*│　版权所有：动软卓越（北京）科技有限公司　　　　　　　　　　　　　　│
*└──────────────────────────────────┘
*/
using System;
namespace BBPA.Model
{
	/// <summary>
	/// Orders_Goods:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class Orders_Goods
	{
		public Orders_Goods()
		{}
		#region Model
		private int _id;
		private int _ordersid;
		private int _goodsid;
		private int _expectamount;
		private decimal _expectprice=0M;
		private decimal _expectpricesum=0M;
		private decimal _expectbuyprice=0M;
		private decimal _expectbuypricesum=0M;
		private decimal _expectpay=0M;
		private int _expectdiscount=100;
		private int _expectbuydiscount=100;
		private int _expectgiftnumber;
		private int _expectbuygiftnumber;
		private int _actualamount=0;
		private decimal _actualprice=0M;
		private decimal _actualpricesum=0M;
		private decimal _actualbuyprice=0M;
		private decimal _actualbuypricesum=0M;
		private decimal _actualpay=0M;
		private int _actualdiscount=100;
		private int _actualbuydiscount=100;
		private int _actualgiftnumber=0;
		private int _actualbuygiftnumber;
		private bool _isasexpect= false;
		private string _description="";
		private DateTime _dateandtime= DateTime.Now;
		private bool _hasbuy= false;
		private int _waitsupplierchecknum=0;
		private bool _hascheck= false;
		private bool _hascall4delivery= false;
		/// <summary>
		/// 
		/// </summary>
		public int id
		{
			set{ _id=value;}
			get{return _id;}
		}
		/// <summary>
		/// 订单ID
		/// </summary>
		public int OrdersID
		{
			set{ _ordersid=value;}
			get{return _ordersid;}
		}
		/// <summary>
		/// 货品ID
		/// </summary>
		public int GoodsID
		{
			set{ _goodsid=value;}
			get{return _goodsid;}
		}
		/// <summary>
		/// 期望购买数量
		/// </summary>
		public int ExpectAmount
		{
			set{ _expectamount=value;}
			get{return _expectamount;}
		}
		/// <summary>
		/// 收到货款时，预计孕婴店采购价格
		/// </summary>
		public decimal ExpectPrice
		{
			set{ _expectprice=value;}
			get{return _expectprice;}
		}
		/// <summary>
		/// 收到货款时，预计孕婴店采购总价（参加活动之后的价格）
		/// </summary>
		public decimal ExpectPriceSum
		{
			set{ _expectpricesum=value;}
			get{return _expectpricesum;}
		}
		/// <summary>
		/// 打采购款给采购员时，预计联盟采购价格
		/// </summary>
		public decimal ExpectBuyPrice
		{
			set{ _expectbuyprice=value;}
			get{return _expectbuyprice;}
		}
		/// <summary>
		/// 打采购款给采购员时，预计联盟采购总价（参加活动之后的价格）
		/// </summary>
		public decimal ExpectBuyPriceSum
		{
			set{ _expectbuypricesum=value;}
			get{return _expectbuypricesum;}
		}
		/// <summary>
		/// 预计现场支付给供货商金额
		/// </summary>
		public decimal ExpectPay
		{
			set{ _expectpay=value;}
			get{return _expectpay;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ExpectDiscount
		{
			set{ _expectdiscount=value;}
			get{return _expectdiscount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ExpectBuyDiscount
		{
			set{ _expectbuydiscount=value;}
			get{return _expectbuydiscount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ExpectGiftNumber
		{
			set{ _expectgiftnumber=value;}
			get{return _expectgiftnumber;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ExpectBuyGiftNumber
		{
			set{ _expectbuygiftnumber=value;}
			get{return _expectbuygiftnumber;}
		}
		/// <summary>
		/// 实际采购数量
		/// </summary>
		public int ActualAmount
		{
			set{ _actualamount=value;}
			get{return _actualamount;}
		}
		/// <summary>
		/// 实际孕婴店采购价格
		/// </summary>
		public decimal ActualPrice
		{
			set{ _actualprice=value;}
			get{return _actualprice;}
		}
		/// <summary>
		/// 实际孕婴店采购总价（参加活动之后的价格）
		/// </summary>
		public decimal ActualPriceSum
		{
			set{ _actualpricesum=value;}
			get{return _actualpricesum;}
		}
		/// <summary>
		/// 实际联盟采购价格
		/// </summary>
		public decimal ActualBuyPrice
		{
			set{ _actualbuyprice=value;}
			get{return _actualbuyprice;}
		}
		/// <summary>
		/// 实际联盟采购总价（参加活动之后的价格）
		/// </summary>
		public decimal ActualBuyPriceSum
		{
			set{ _actualbuypricesum=value;}
			get{return _actualbuypricesum;}
		}
		/// <summary>
		/// 采购员现场实际支付给供货商金额
		/// </summary>
		public decimal ActualPay
		{
			set{ _actualpay=value;}
			get{return _actualpay;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ActualDiscount
		{
			set{ _actualdiscount=value;}
			get{return _actualdiscount;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ActualBuyDiscount
		{
			set{ _actualbuydiscount=value;}
			get{return _actualbuydiscount;}
		}
		/// <summary>
		/// 赠送数量
		/// </summary>
		public int ActualGiftNumber
		{
			set{ _actualgiftnumber=value;}
			get{return _actualgiftnumber;}
		}
		/// <summary>
		/// 
		/// </summary>
		public int ActualBuyGiftNumber
		{
			set{ _actualbuygiftnumber=value;}
			get{return _actualbuygiftnumber;}
		}
		/// <summary>
		/// 实际采购数量和价格是否跟预期相同
		/// </summary>
		public bool IsAsExpect
		{
			set{ _isasexpect=value;}
			get{return _isasexpect;}
		}
		/// <summary>
		/// 
		/// </summary>
		public string Description
		{
			set{ _description=value;}
			get{return _description;}
		}
		/// <summary>
		/// 添加日期
		/// </summary>
		public DateTime Dateandtime
		{
			set{ _dateandtime=value;}
			get{return _dateandtime;}
		}
		/// <summary>
		/// 
		/// </summary>
		public bool HasBuy
		{
			set{ _hasbuy=value;}
			get{return _hasbuy;}
		}
		/// <summary>
		/// 等待供货商点货数量
		/// </summary>
		public int WaitSupplierCheckNum
		{
			set{ _waitsupplierchecknum=value;}
			get{return _waitsupplierchecknum;}
		}
		/// <summary>
		/// 供货商已点货
		/// </summary>
		public bool HasCheck
		{
			set{ _hascheck=value;}
			get{return _hascheck;}
		}
		/// <summary>
		/// 已经通知供货商发货
		/// </summary>
		public bool HasCall4Delivery
		{
			set{ _hascall4delivery=value;}
			get{return _hascall4delivery;}
		}
		#endregion Model

	}
}

